
from django.conf import settings
from django.conf.urls.defaults import *

urlpatterns = patterns('pp_case.views',
    url(r'^dashboard/$',
        'dashboard'),
    
    url(r'^caseWaitResponse',
        'case_wait_response'),
    
    url(r'^(?P<pp_case_id>PP-\d{3}-\d{3}-\d{3}-\d{3})/$',
        'view_pp_case',
        name='pp_case_view'),

    url(r'^(?P<pp_case_id>PP-\d{3}-\d{3}-\d{3}-\d{3})/investigate/$',
    'pp_case_investigate',
    name='pp_case_investigate'),
    
    url(r'^(?P<pp_case_id>PP-\d{3}-\d{3}-\d{3}-\d{3})/handle/$',
    'pp_case_handle',
    name='pp_case_handle'),
    
    url(r'^(?P<pp_case_id>PP-\d{3}-\d{3}-\d{3}-\d{3})/cooperate/$',
    'pp_case_cooperate',
    name='pp_case_cooperate'),
    
    url(r'^(?P<pp_case_id>PP-\d{3}-\d{3}-\d{3}-\d{3})/endcase/$',
    'pp_case_endcase',
    name='pp_case_endcase'),

    url(r'^(?P<pp_case_id>PP-\d{3}-\d{3}-\d{3}-\d{3})/settleCooperate/$',
    'pp_case_settled_cooperate',
    name = 'pp_case_settled_cooperate'),
 )